package com.baizhi.entity;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@TableName("cmfz_guru")
@Data
public class CmfzGuru implements Serializable {
    @TableId(value = "guru_id",type = IdType.AUTO)
    @Excel(name = "上师编号")
    private Integer guruId;
    @Excel(name = "上师名字")
    private String guruName;
    @Excel(name = "上师头像地址")
    private String guruImage;
    @Excel(name = "上师法号")
    private String guruNickname;
    /**
     * replace 值的替换 导出的时候 0会被替换为正常写出
     */
    @Excel(name = "上师状态",replace = {"正常_0","冻结_1"})
    private Integer guruStatus;
}